package com.example.human_resource_management.service;

import com.example.human_resource_management.entry.dto.ResourceDto;
import com.example.human_resource_management.entry.po.Resource;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【resource(资源表)】的数据库操作Service
* @createDate 2025-06-09 16:40:21
*/
public interface ResourceService extends IService<Resource> {


    List<ResourceDto> selectResourceListByEmpId(Long empId);

    //管理员端

    List<ResourceDto> selectAllResources();

    boolean addResource(Resource resource);

    boolean updateResource(Resource resource);

    boolean deleteResource(Long resId);
}
